import { Http } from "./Http";
/* 获取购物车 */
const getCartHttp = () => {
    return Http({
        url: "/cart"
    })
}
/* 获取音乐列表的数据 */
const getPlaylistHttp = () => {
    return Http({
        url: "/music/playlist"
    })
}
/* 获取音乐详情 */
const getMusicDetailHttp = (id) => {
    return Http({
        url: `/music/detail?id=${id}`
    })
}
export { getCartHttp, getPlaylistHttp, getMusicDetailHttp }